package com.quanxi.qxaimain;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import org.springframework.boot.web.servlet.ServletRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ImportResource;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@SpringBootApplication
// 监听加载UReport2提供的spring配置文件ureport-console-context.xml，由于要扩展 所以引入context.xml
//@ImportResource("classpath:context.xml")
public class QxaimainApplication {
    public static void main(String[] args) {
        SpringApplication.run(QxaimainApplication.class, args);
    }

}
